package com.gxan.pojo;

import java.io.Serializable;

/**
 * 
 * @TableName sys_role
 */
public class SysRole{
    /**
     * 主键id
     */
    private Integer role_id;

    /**
     * 角色名称
     */
    private String role_name;

    /**
     * 角色权限
     */
    private String role_right;

    /**
     * 所属部门id
     */
    private Integer dept_id;

    public SysRole() {
    }

    public SysRole(Integer role_id, String role_name, String role_right, Integer dept_id) {
        this.role_id = role_id;
        this.role_name = role_name;
        this.role_right = role_right;
        this.dept_id = dept_id;
    }

    @Override
    public String toString() {
        return "SysRole{" +
                "role_id=" + role_id +
                ", role_name='" + role_name + '\'' +
                ", role_right='" + role_right + '\'' +
                ", dept_id=" + dept_id +
                '}';
    }

    public Integer getRole_id() {
        return role_id;
    }

    public void setRole_id(Integer role_id) {
        this.role_id = role_id;
    }

    public String getRole_name() {
        return role_name;
    }

    public void setRole_name(String role_name) {
        this.role_name = role_name;
    }

    public String getRole_right() {
        return role_right;
    }

    public void setRole_right(String role_right) {
        this.role_right = role_right;
    }

    public Integer getDept_id() {
        return dept_id;
    }

    public void setDept_id(Integer dept_id) {
        this.dept_id = dept_id;
    }
}